﻿using System;
using System.Xml.Serialization;
using System.Collections.Generic;

namespace MetaMapics.Gpx
{
  public class Metadata
  {
    [XmlElement("name")] public string Name { get; set; }
    [XmlElement("desc")] public string Description { get; set; }
    [XmlElement("author")] public Person Author { get; set; }
    [XmlElement("copyright")] public Copyright Copyright { get; set; }
    [XmlElement("link")] public List<Link> Links { get; set; }
    [XmlElement("time")] public DateTime Time { get; set; }
    [XmlElement("keywords")] public string Keywords { get; set; }
    [XmlElement("bounds")] public Bounds Bounds { get; set; }
    [XmlElement("extensions")] public Extensions Extensions { get; set; }

    public Metadata()
    {
      Links = new List<Link>();
    }
  }
}
